
if exists(select name from sysobjects where name = 'sp_KhuyenMaiCheckLink')
	drop proc sp_KhuyenMaiCheckLink
go
/*
	Created by: Phuoc NH
	Created on: 13/05/2013 (dd/mm/yyyy)
	Description: 
	--

	File:$sql-scripts/Proc.sp_KhuyenMaiCheckLink.sql
*/


-- =============================================
-- Author		: HP
-- Create date	: 2014-04-03
-- =============================================

CREATE PROCEDURE sp_KhuyenMaiCheckLink
			
	@Link       		VARCHAR(500)=''
	
AS
BEGIN
   select KhuyenMaiId from KhuyenMai where Link=@Link
END
GO


